{% extends "master.html" %}

{% block pagecontent %}
	{% for m in msg_list %}
		<p><b>({{ m.chat }})</b>{{ m.user }} ({{ m.timestamp }}): {{ m.message }}</p>
	{% endfor %}
	<form action="/talk?chat={{ chat }}" method="post">
		<p><b>Message</b></p>
		<div>
			<textarea name="message" id="" cols="60" rows="5"></textarea>			
		</div>
		<div>
			<input type="submit" value="Send"/>
		</div>
	</form>
{% endblock %}